#pragma once
#include"Task.h"

class Queue {
public:
	virtual bool push(Task& task)=0;
	virtual bool pop(Task& task) = 0;
	virtual bool tryPush(Task& task,long time) = 0;
	virtual bool tryPop(Task& task,long time) = 0;
};